Skip to content

Upgrade Kotlin to 2.3.10 and release Phosphor 0.2.3#7

Merged
wow-miley merged 2 commits intomainfrom
wow-miley/kotlin-2.3.10-upgrade
Feb 28, 2026
Merged

Upgrade Kotlin to 2.3.10 and release Phosphor 0.2.3#7
wow-miley merged 2 commits intomainfrom
wow-miley/kotlin-2.3.10-upgrade

Conversation

@wow-miley
Copy link
Contributor

Summary

Upgrade Kotlin from 2.1.20 to 2.3.10 to match Ampere and release Phosphor 0.2.3. Includes compatibility fixes for Kotlin 2.3.10's stricter compiler checks and updated test assertions for JS float precision changes.

Changes

  • Kotlin: 2.1.20 → 2.3.10
  • Phosphor: 0.2.2 → 0.2.3
  • Added @OptIn(ExperimentalWasmDsl::class) for new Kotlin requirement
  • Removed redundant .toFloat() calls in float calculations
  • Fixed 4 JS test failures with tolerance-based float comparisons
  • Updated yarn lock files for new Kotlin version

Test plan

  • All 438 tests pass (JVM, JS, WASM, iOS platforms)
  • KtLint style checks pass
  • Build completes without warnings

🤖 Generated with Claude Code

wow-miley and others added 2 commits February 27, 2026 23:49
- Update Kotlin version to 2.3.10 to match Ampere
- Bump Phosphor version to 0.2.3
- Add @OptIn(ExperimentalWasmDsl::class) for Kotlin 2.3.10 compatibility
- Remove redundant toFloat() calls in AgentLayer float calculations
- Fix JS float precision issues in substrate tests with tolerance-based comparisons
- Update yarn lock for new Kotlin version

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@wow-miley wow-miley merged commit a8153c9 into main Feb 28, 2026
1 check passed
@wow-miley wow-miley deleted the wow-miley/kotlin-2.3.10-upgrade branch March 5, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant